package com.gcsoftware.gateway.trafficProcess;

import org.littleshoot.proxy.HostResolver;

import java.net.InetSocketAddress;

/**
 * Created by yinpeng on 18/1/24.
 */
public class gatewayServResolver implements HostResolver
{
    private InetSocketAddress targetServer;
    public gatewayServResolver(InetSocketAddress servAddress)
    {
        targetServer = servAddress;
    }

    @Override
    public InetSocketAddress resolve(String var1, int var2)
    {
        return targetServer;
    }
}
